home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
MEDICAL
/
H121A.ZIP
/
FILES6.EXE
/
lha
/
AMISS2.PGM
< prev
next >
Wrap
Text File
|
1991-07-15
|
1KB
|
34 lines
************************************************************************
*AMISS2.PGM Version 1.0, 20/FEB/1990 *
*An Epi Info program to code missing variables for anthropometry values*
* See Epi Info documentation for more information. *
* by Kevin Sullivan, Division of Nutrition, CDC *
************************************************************************
echo
echo
echo You must read a file in order to run this program. Type
echo READ and the name of a file. There is an example data
echo file called NUTRI that can be used.
echo
?EPI>?
************************************************************************
*Declare missing variables based on z-scores *
************************************************************************
Define NOHA #
Define NOWH #
Define NOWA #
If haz<-6 or haz>6 then NOHA=1 else NOHA=0
If whz<-4 or whz>6 then NOWH=1 else NOWH=0
If waz<-6 or waz>6 then NOWA=1 else NOWA=0
If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOHA=1
If ((haz>3.09) and (whz<-3.09)) or ((haz<-3.09) and (whz>3.09)) then NOWH=1
If NOHA then HAZ=.
If NOHA then HAP=.
If NOHA then HAM=.
If NOWH then WHZ=.
If NOWH then WHP=.
if NOWH then WHM=.
If NOWA then WAZ=.
If NOWA then WAP=.
If NOWA then WAM=.